Skip to content

export Function

CallbackGame ​

Constructor ​

ts
KeyboardButton.CallbackGame( text, callback_game )
ParameterTypeDescription
textstringLabel text on the button.
callback_gamestringDescription of the game that will be launched when the user presses the button.

Return: KeyboardButtonPayload